#ifndef COMMANDLINEEDIT_H
#define COMMANDLINEEDIT_H
//
#include <QLineEdit>
#include <QShortcut>
//
class CommandLineEdit : public QLineEdit
{
Q_OBJECT
public:
	CommandLineEdit(QWidget *parent);
	~CommandLineEdit();

public slots:
	void backInHistory();
	void forwardInHistory();
	void validateCommand();
	
private:
	QShortcut *upArrow;
	QShortcut *downArrow;
	QShortcut *enter;
	QList<QString> CLEH;
	int count;

signals:
	void customReturnPressed();

};
#endif
